package myclass;

import java.util.*;

/**
 * @author judge
 */
public class MiniApplicationContext {
    public static void main(String[] args){
        try
        {
            Map<String, Object> beans = ReadFromBean.createBean();
            for (Map.Entry<String, Object> next : beans.entrySet()) {
                System.out.println(next.getKey());
                System.out.println(next.getValue());
            }
        }
        catch (AException e)
        {
            System.out.println(e.getErrorType()+":"+e.getMessage());
        }
    }
}
